package com.maixy.studyonlineapi.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @Classname User
 * @Description user表对应的实体类
 * @Date 2020/11/1 16:58
 * @Author by maixy
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("user")
public class User extends BaseModel implements Serializable{


    @TableField(value = "user_name_")
    private String userName;

    @TableField(value = "pwd_")
    private String pwd;

    @TableField(value = "nick_name_")
    private String nickName;

    @TableField(value = "avatar_id_")
    private Long avatarId;

}
